//
//  MZY_DiscussCollectionView.m
//  FullHouse
//
//  Created by dllo on 16/1/19.
//  Copyright © 2016年 yy. All rights reserved.
//

#import "MZY_DiscussCollectionView.h"

@implementation MZY_DiscussCollectionView

- (void)dealloc
{
    [self.titleLabel release];
    [super dealloc];
}

- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView{
    self.titleLabel = [[UILabel alloc]init];
    [self.contentView addSubview:self.titleLabel];
    [self.titleLabel release];
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.titleLabel.frame = CGRectMake(0, 0, 50, 20);
}

@end
